package bean;

import utils.StringUtil;

/**
 * 评论
 *
 * @author: xiaoluo
 * @date: 2017-03-06 17:03
 */
public class Comment {
    private int id;
    private TupaiUser user;
    private FeedItem post;
    private String content;
    private int status;
    private Comment parent_comment;
    private String tpTime;
    private String created_at;
    private String updated_at;

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public String getTpTime() {
        return StringUtil.transStempTime(created_at);
    }


    public void setTpTime(String tpTime) {
        this.tpTime = tpTime;
    }

    public Comment getParent_comment() {
        return parent_comment;
    }

    public void setParent_comment(Comment parent_comment) {
        this.parent_comment = parent_comment;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public TupaiUser getUser() {
        return user;
    }

    public void setUser(TupaiUser user) {
        this.user = user;
    }

    public FeedItem getPost() {
        return post;
    }

    public void setPost(FeedItem post) {
        this.post = post;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
